package com.enjoyor.soa.traffic.api.kernel.databus.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ProcessorField {

  String name() default "名称";

  String desc() default "描述";

  boolean required() default false;

  Type type() default Type.INPUT;

  String[] select() default {""};

  enum Type{
    /**
     * 前端输入类型
     */
    INPUT,SELECT,RADIO
  }
}
